#include"queue.hpp"
#include"stack.hpp"
void test1()
{
	hcc::queue<int> q;
	q.push(1);
	q.push(2);
	q.push(3);
	q.push(4);
	cout << q.front() << "->" << q.back() << endl;
	q.pop();
	q.pop();
	q.pop();
	cout << q.front() << "->" << q.back() << endl;
}
void test2()
{
	hcc::stack<int> s;
	s.push(1);
	s.push(2);
	s.push(3);
	s.push(4);
	cout << s.top() << endl;
	s.pop();
	s.pop();
	s.pop();
	cout << s.top() << endl;
}
int main()
{
	//test1();
	test2();
	return 0;
}